<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>AcWink扫雷游戏</title>
    <style>
      .container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .name {
        margin: 20px 0;
        width: 500px;
        padding: 10px 0;
        text-align: center;
        border: 2px solid skyblue;
        border-radius: 4px;
      }

      .control {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
      }

      .message-box {
        margin-bottom: 20px;
        width: 200px;
        height: 20px;
        padding: 10px 0;
        text-align: center;
        color: red;
        border: 1px solid;
        border-radius: 4px;
      }
      #begin {
        display: inline-block;
        margin-top: 20px;
      }
      .game {
        display: flex;
        flex-wrap: wrap;
        background-color: #ccc;
      }

      .game-item {
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: bisque;
        border: 1px solid #fff;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="name">AcWINK扫雷游戏</div>
      <div class="control">
        <label for=""> 行数：<input id="row" type="number" /> </label>
        <label for=""> 列数：<input id="col" type="number" /> </label>
        <label for=""> 雷数：<input id="mineNumber" type="number" /> </label>s=
        <button id="begin">开始游戏</button>
      </div>
      <!--  -->
      <div class="message-box"></div>
      <div class="game"></div>
    </div>
    <script src="./index.js"></script>
  </body>
</html>
